package com.base.service;

import java.io.File;
import java.io.InputStream;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.base.callback.UrExcelCallBack;


public interface UrExcelOptionService {
public String excelOut(List<?> list,String templateFile,Class myClass,HttpServletRequest request,HttpServletResponse response) throws Exception ;
	
	public String excelModelOut(String templateModelFile,HttpServletRequest request,HttpServletResponse response) throws Exception;
	
	public Map<String,Object> getObjectListFromExcel(File file, Class myclass,UrExcelCallBack callBack) throws Exception ;
	
	public Map<String,Object> getObjectListFromExcel(InputStream is, Class myclass,UrExcelCallBack callBack) throws Exception ;
	
	public  Object getCurrentTypeValue(Class currentType, String value) throws ParseException;
	
	public String excelOutNew(Map<String,Object> map,String templateFile,HttpServletRequest request,HttpServletResponse response) throws Exception ;
}
